package cn.iocoder.yudao.module.eval.controller.admin.assignment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Schema(description = "管理后台 - 批量分配人员 Request VO")
@Data
public class EvalBatchAssignmentReqVO {

    @Schema(description = "计划ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "计划ID不能为空")
    private Long planId;

    @Schema(description = "人员类型：1-考评员，2-督导员", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "人员类型不能为空")
    private Integer personType;

    @Schema(description = "用户ID列表", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "用户ID列表不能为空")
    private List<Long> userIds;

    @Schema(description = "科目ID列表", example = "[1, 2]")
    private List<Long> subjectIds;

}
